package com.sg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "user_tag")
public class UserTag {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "tag_id")
    private String tagId;

    /**
     * 1  已绑定   0 已解绑
     */
    @TableField(value = "`status`")
    private String status;

    /**
     * 绑定时间
     */
    @TableField(value = "bond_time")
    private Date bondTime;

    /**
     * 解绑时间
     */
    @TableField(value = "unbond_time")
    private Date unbondTime;

    /**
     * 解绑原因
     */
    @TableField(value = "unbond_reason")
    private String unbondReason;
}